<?php
//准备装载数据
	require_once("./includes/configure.php");
	require_once("./includes/database.php");
	$db = Database::Connect();
	$zufang_quyu_array = $db->getConfigurationArray('zufang_quyu');
	$zufang_xianlu_array = $db->getConfigurationArray('zufang_xianlu');
?>
<div class="search_boxer">
	<form id="form_search" action="ershoufang.php"
		method="GET">
	<div class="searchinput"><input type="text" maxlength="100" name="kw"
		id="home_kw" value="请输入房源特征,地点或小区名..."  onfocus="javascript:if(this.value =='请输入房源特征,地点或小区名...')this.value='';" autocomplete="off"></div>
	<input type="submit" value="找房子" class="find_button">

	<input type="hidden" value="1" name="rd"> <input class="map_sale"
		id="mapbtn" type="hidden"> <input type="hidden" id="tab_url"
		value="/sale/"> <input type="hidden" value="1" name="t" id="textbox">
	</form>
	<div class="search_tags">
		<dl class="tags_boxer01" id="lastSearchBox" style="visibility: visible;">
		<!--	您最近找过：&nbsp;&nbsp;
			<a href="#/sale/a15-m16">80-100万元70-90平米</a>-->
		</dl>
		<dl class="tags_boxer02">
			<dt>从区域开始：</dt>
			<dd class="areainfo">
				<?php
					for($ii=0;$ii<count($zufang_quyu_array);$ii++){
						echo '<a href="ershoufang.php?quyu='.$zufang_quyu_array[$ii]['this_id'].'">'.$zufang_quyu_array[$ii]['value'].'</a>';
					}
				?>
			</dd>
			<dd class="more"><a href="ershoufang.php">更多找房条件&nbsp;»</a></dd>
		</dl>
		<dl class="tags_boxer03">
			<dt>从轨道开始：</dt>
			<dd>
			<?php
				for($ii=0;$ii<count($zufang_xianlu_array);$ii++){
					echo '<a href="ershoufang.php?xianlu='.$zufang_xianlu_array[$ii]['this_id'].'">'.$zufang_xianlu_array[$ii]['value'].'</a>';
				}
			?>
			</dd>
		</dl>
	</div>
</div>